#include<stdio.h>
int main()
{	   		  	 	 
    int a, b, c;  //1

    for (a = 1; a <= 20; a++) //2
    {	   		  	 	 
        for (b = 1; b <= 20; b++) //2
        {	   		  	 	 
            for (c = 1; c <= 20; c++) //2
            {	   		  	 	 
                if (c * c == a * a + b * b) //1
                    printf("a=%d\tb=%d\tc=%d\n", a, b, c); //1
            }
        }
    }

    return 0;
}	   	